package com.pubinfo.passbook.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pubinfo.passbook.common.entity.TWiteoffInfoPassbook;
import com.pubinfo.passbook.common.model.bo.valueAddedTax.OutParamInvoiceInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xuhong
 * @since 2022-01-20
 */
public interface TWiteoffInfoPassbookMapper extends BaseMapper<TWiteoffInfoPassbook> {

    Boolean insertTwiteoffInfoPassbook(@Param("writeoffInstanceCode") String writeoffInstanceCode,@Param("outParamInvoiceInfo") List<OutParamInvoiceInfo> outParamInvoiceInfo);

    List<TWiteoffInfoPassbook> selectEInvoiceIdByWriteoffInstanceCode(@Param("writeoffInstanceCode") String writeoffInstanceCode);
}
